package com.shareach.search.domain;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.shareach.util.JsonUtil;


@JsonSerialize(include=(JsonSerialize.Inclusion.NON_NULL))
@JsonIgnoreProperties(ignoreUnknown=true)
public class DianpingTicketItem {
	// 银行
	private String site;
	// 唯一标识
	private String siteFromId;
	//private List<String> dianpingShopId;
	// 标题
	private String title;
	// 说明
	private String descry;
	// 截止日期
	private String end;
	// 折扣[折扣率*100]
	private Integer discount;
	private String name;
	private String tel;
	private String addr;
	private String promoId;
	private String dianpingShopId;
	public String getSite() {
		return site;
	}
	public void setSite(String site) {
		this.site = site;
	}
	public String getSiteFromId() {
		return siteFromId;
	}
	public void setSiteFromId(String siteFromId) {
		this.siteFromId = siteFromId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescry() {
		return descry;
	}
	public void setDescry(String descry) {
		this.descry = descry;
	}
	public String getEnd() {
		return end;
	}
	public void setEnd(String end) {
		this.end = end;
	}
	public Integer getDiscount() {
		return discount;
	}
	public void setDiscount(Integer discount) {
		this.discount = discount;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	
	public String getPromoId() {
		return promoId;
	}
	public void setPromoId(String promoId) {
		this.promoId = promoId;
	}
	public String getDianpingShopId() {
		return dianpingShopId;
	}
	public void setDianpingShopId(String dianpingShopId) {
		this.dianpingShopId = dianpingShopId;
	}
	public String toString(){
		return JsonUtil.jsonFromObject(this);
	}
}
